use rust_sdk::engine::Engine;

fn main() {
    let mut engine = Engine::new();
    // engine.set_string_listener(Some(|s| println!("{}", s)));
    engine.set_string_listener(Some(Box::new(move |s| println!("{}", s))));
    engine.set_int_listener(Some(Box::new(move |i| println!("{}", i))));
    engine.call_listeners(100, false);

    println!("Hello, world!");
}
